package com.cn.hnust.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.cn.hnust.dao.ILfdcommentDao;
import com.cn.hnust.pojo.Lfdcomment;
import com.cn.hnust.service.ILfdcommentService;

@Service(value = "LfdcommentService")
public class LfdcommentServiceImpl implements ILfdcommentService {

    @Resource
    private ILfdcommentDao LfdcommentMapper;

	@Override
	public int deleteByPrimaryKey(Integer id) {
		// TODO Auto-generated method stub
		return this.LfdcommentMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(Lfdcomment record) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int insertSelective(Lfdcomment record) {
		// TODO Auto-generated method stub
		return this.LfdcommentMapper.insertSelective(record);
	}

	@Override
	public Lfdcomment selectByPrimaryKey(Integer id) {
		// TODO Auto-generated method stub
		return this.LfdcommentMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(Lfdcomment record) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int updateByPrimaryKey(Lfdcomment record) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public List<Lfdcomment> selectLfdcomment() {
		// TODO Auto-generated method stub
		return this.LfdcommentMapper.selectLfdcomment();
	}

	@Override
	public List<Lfdcomment> selectLfdcommentByLid(Integer lid) {
		// TODO Auto-generated method stub
		return this.LfdcommentMapper.selectLfdcommentByLid(lid);
	}

}
